package com.example.design.c.temp;

/**
 * 工商银行业务子类
 */
public class ICBCBankBusiness extends AbstractBankBusiness {

    public ICBCBankBusiness() {
        System.out.println("工商银行业务实现类");
    }

    /**
     * 实际业务
     */
    @Override
    public Integer personalBusiness() {
        System.out.println("我要转账");
        System.out.println("从A账户转账到B账户");
        System.out.println("转账完成");
        return null;
    }
}
